import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path'

export default defineConfig({
  server:{
    port:5512
  },
  resolve: {
    alias: [
      {
        find: '@',
        replacement: resolve(__dirname, 'src')
      }
    ]
  },
  plugins: [
    vue({
      template: {
        // support for custom elements and remove the unknown element warnings
       // compilerOptions,
        // // support for asset url conversion
        // transformAssetUrls,
      },
    }),
  ],
})